package com.blog.mapper;

import com.blog.pojo.Statistics;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author jiafujun
 * 2020-06-22 15:19:46
 **/
public interface StatisticsMapper {
    void insert(Statistics model);

    void update(Statistics model);

    Statistics selectByTime(Statistics model);

    List<Statistics> selectSatistics(@Param("userId")Integer userId,@Param("startTime") String startTime,@Param("endTime")String endTime);

    void delByTime(String delTime);
}
